package com.aote.util;

import java.util.Iterator;
import java.util.List;
import java.util.Map;

public class MapHelper {

	public static void nullToZeroInMaps(List datas) {
		Iterator it = datas.iterator();
		while (it.hasNext()) {
			Map data = (Map) it.next();
			Iterator mit = data.entrySet().iterator();
			while (mit.hasNext()) {
				Map.Entry entry = (Map.Entry) mit.next();
				String str = (String) entry.getValue();
				if (str.equals("　")) {
					entry.setValue("0");
				}
			}
		}
	}

}
